#pragma once

#include <string>
#include <map>

class XConfig
{
private:
    std::map<std::string, std::string> conf_;

public:
    bool Read(const std::string &filename);
    const std::string Get(const std::string &key) const;

    const std::map<std::string, std::string> &config() const { return conf_; }
};
